/*
 * @Author: zhangyang
 * @Date: 2022-02-24 15:40:25
 * @LastEditTime: 2022-10-04 15:48:45
 * @Description: 自定义模块
 */
import type { YoungModule } from '../types';

export const install: YoungModule = (app) => {
  Object.values(
    import.meta.glob<{ default: any }>('../plugins/directives/*.ts', { eager: true }),
  ).map((v) => app.use(v.default));
};
